<li class="nav-item {% if request.resolver_match.url_name == 'test_report_list' %}active{% endif %}">
  <a class="nav-link" href="{% url 'test_report_list' %}">
    <i class="fas fa-file-alt"></i>
    <span>测试报告</span>
  </a>
</li>
